﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/MasterPageAdmin.master" AutoEventWireup="true" CodeFile="DoiPass.aspx.cs" Inherits="admin_DoiPass" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
 <style type="text/css">
        .headertilte{
         	font-size:35px;
            color:#39629F;
            font-weight:bold;
            text-align:center;
            margin:0;
            width:100%;
            padding:10px 0px 10px 0px;
            border-bottom:1px solid #ededed;
         	}
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div style="width:100%;">
     <div class="headertilte">
        <asp:Label ID="lbhead" runat="server" Text="Đổi Mật Khẩu"></asp:Label></div>
       <table width="500px" style="margin:0 auto;">
            <tr>
                <td>
                    Mật Khẩu Cũ:</td>
                <td>
                    <asp:TextBox ID="txtmkcu" runat="server" TextMode="Password"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                        ControlToValidate="txtmkcu" ErrorMessage="*"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    Mật Khẩu Mới:</td>
                <td>
                    <asp:TextBox ID="txtmkmoi" runat="server" TextMode="Password"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" 
                        ControlToValidate="txtmkmoi" ErrorMessage="*"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    Xác Nhận Mật Khẩu Mới:</td>
                <td>
                    <asp:TextBox ID="txtxdmkmoi" runat="server" TextMode="Password" Height="22px"></asp:TextBox>
                    <asp:CompareValidator ID="CompareValidator1" runat="server" 
                        ControlToCompare="txtmkmoi" ControlToValidate="txtxdmkmoi" 
                        ErrorMessage="Không trùng mật khẩu" ForeColor="Red"></asp:CompareValidator>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" 
                        ControlToValidate="txtxdmkmoi" ErrorMessage="*"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td colspan="2" align="center">
                    <asp:Label ID="lbloimkcu" runat="server" ForeColor="Red"></asp:Label>
                </td>
            </tr>
            <tr>
                <td align="right">
                    <asp:Button ID="btsua" runat="server" Text="Lưu" Width="97px" 
                        onclick="btsua_Click" />
                </td>
                <td>
                    <asp:Button ID="bttrolai" runat="server" Text="Trở lại" Width="85px" 
                        CausesValidation="False" onclick="bttrolai_Click" />
                </td>
            </tr>
        </table>
    </div>
</asp:Content>

